package o;

import android.graphics.drawable.Drawable;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

public abstract class zw<T> implements zz<T> {
    private final int ˊ;
    private final int ˎ;
    @Nullable
    private zm ॱ;

    public zw() {
        this(Integer.MIN_VALUE, Integer.MIN_VALUE);
    }

    public zw(int i, int i2) {
        if (aau.ˊ(i, i2)) {
            this.ˊ = i;
            this.ˎ = i2;
            return;
        }
        throw new IllegalArgumentException("Width and height must both be > 0 or Target#SIZE_ORIGINAL, but given width: " + i + " and height: " + i2);
    }

    public void onStart() {
    }

    public void onStop() {
    }

    public void onDestroy() {
    }

    public void onLoadStarted(@Nullable Drawable drawable) {
    }

    public void onLoadFailed(@Nullable Drawable drawable) {
    }

    public final void getSize(@NonNull aaa o_aaa) {
        o_aaa.ˊ(this.ˊ, this.ˎ);
    }

    public final void removeCallback(@NonNull aaa o_aaa) {
    }

    public final void setRequest(@Nullable zm zmVar) {
        this.ॱ = zmVar;
    }

    @Nullable
    public final zm getRequest() {
        return this.ॱ;
    }
}
